
/*-----格式----*/

//标题
function execdocTitle(){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'docTitle' );
}
//副标题
function execfubiaoti(){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'fubiaoti' );
}
//文号
function execodocNumber (){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'odocNumber' );
}
//主送
function execzhusong (){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'zhusong' );
}
//正文
function execzhengwen(){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'zhengwen' );
}
//署名
function execshuming(){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'shuming' );
}
//附注
function execfuzhu(){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'fuzhu' );
}

//签署日期
function execqianshuriqi(){
	deleteTempSpan();
	CKEditorParams.editorObject.execCommand( 'qianshuriqi' );
}

/*-------组件 ----------*/

//插入分页符
function pagebreak(){
	CKEditorParams.editorObject.execCommand( 'pagebreak' );
}
//插入时间
function insertTimestamp(){
	CKEditorParams.editorObject.execCommand( 'qianshuriqi' );
}
//Ctrl+Z
function undo(){
	CKEditorParams.editorObject.execCommand( 'undo' );
}
//Ctrl+Y
function redo(){
	CKEditorParams.editorObject.execCommand( 'redo' );
	//CKEDITOR.tools.callFunction(7);
}
//Ctrl+X
function cut(){
	CKEditorParams.editorObject.execCommand( 'cut' );
}
//Ctrl+C
function copy(){
	CKEditorParams.editorObject.execCommand( 'copy' );
}
//Ctrl+V
function paste(){
	CKEditorParams.editorObject.execCommand( 'paste' );
}